package com.gsafety.wellsfort.dao.organization;

import com.gsafety.wellsfort.domain.dto.school.ClassDTO;
import com.gsafety.wellsfort.domain.model.organization.Class;

import java.util.List;

public interface ClassDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(Class record);

    int insertSelective(Class record);

    Class selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Class record);

    int updateByPrimaryKey(Class record);

    List<Class> selectByParam(ClassDTO classDTO);


    List<Class> selectBySchoolId(Integer schoolId);

    List<Class> selectAll();

    Integer count();

}